<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/
// created :	31 March 2010
// version :	31 March 2010

interface Cmis_Request_Interface
{
	/**
	 * Login = url parameter name
	 * Password = parameter value
	 * 
	 * eg. ticket=ticket_value
	 */
    const AUTH_URL = 1;

    /**
     * Auth by http basic
     */
    const AUTH_HTTP_BASIC = 2;

    /**
     * No authentification
     */
    const AUTH_NONE = 0;

    /**
     * Constructor, login and password value depending on the auth type
     * @param string $login
     * @param string $password
     * @param const $auth_type
     * @param bool $secure
     */
    public function __construct($login, $password, $auth_type = self::AUTH_HTTP_BASIC, $secure = false);

    public function getClient();
}

# EOF
